//------------------------------------------------------------------------------
// <copyright file="CSSqlFunction.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;

public partial class UserDefinedFunctions
{
    [Microsoft.SqlServer.Server.SqlFunction]
    [return: SqlFacet(MaxSize = -1)]
    public static SqlString fnIO_StringConcat([SqlFacet(MaxSize = -1)]string stringOne, [SqlFacet(MaxSize = -1)]string stringTwo)
    {
        // Not sure why, but this still maxes out at about 38000 characters
        return new SqlString (stringOne.ToString() + stringTwo.ToString());
    }
}
